Skip to content

Conversation

@dmathieu
Copy link
Member

This switches the service's feature gates to be automatically generated, so they are documented as well.

Related: #14067

featuregate.WithRegisterFromVersion("v0.122.0"),
featuregate.WithRegisterDescription("Allow starting the Collector without starting any pipelines."),
)
AllowNoPipelines = metadata.ServiceAllowNoPipelinesFeatureGate
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO it would be nice not to make this public. But we use it in otelcol.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed it would be nice to have it private, but unfortunately the otelcol/service responsibility distinction can be a little fuzzy. It was already public before this PR, so it's fine to leave it for now.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing I've been pondering is whether it would make more sense to have 2 feature gates with the same name.
One in otelcol, and one in service. Then, both could be private. And both components would be documented.

@dmathieu dmathieu added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Jan 28, 2026
@dmathieu dmathieu marked this pull request as ready for review January 28, 2026 16:04
@dmathieu dmathieu requested a review from a team as a code owner January 28, 2026 16:04
@dmathieu dmathieu requested a review from evan-bradley January 28, 2026 16:04
@codecov
Copy link

codecov bot commented Jan 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.84%. Comparing base (15a4484) to head (d52a0fc).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #14494   +/-   ##
=======================================
  Coverage   91.84%   91.84%           
=======================================
  Files         677      677           
  Lines       42699    42699           
=======================================
  Hits        39219    39219           
  Misses       2425     2425           
  Partials     1055     1055           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@evan-bradley evan-bradley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excited to have this. Thanks.

dmathieu and others added 2 commits January 29, 2026 09:34
Co-authored-by: Evan Bradley <11745660+evan-bradley@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skip Changelog PRs that do not require a CHANGELOG.md entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants